import { RoleEntity } from 'src/modules/role/entities/role.entity';
import { UserEntity } from '../entities/user.entity';
import { PermEntity } from 'src/modules/perm/entities/perm.entity';

export type UserType = {
  roles: RoleEntity[];
  perms: PermEntity[];
  browser?: string;
  ipaddr?: string;
  loginLocation?: string;
  loginTime?: Date;
  os?: string;
  token?: string;
} & UserEntity;
